package cn.wgx.common.entity.sys;

import cn.wgx.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.sql.Timestamp;

@Data
@TableName("sys_role")
public class Role extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long role_id;
    private Long parent_id;
    private String roleName;
    private String roleKey;
    private Integer type;
    private Integer sort;
    private Integer status;
    private String remark;



    //role_id
    //parentId
    //roleName
    //roleKey
    //type
    //sort
    //status
    //remark
    //createUserId
    //createDate
    //updateUserId
    //updateDate

}
